// 参数接口
export interface AdminAddTeacherParams {
  /*教师职工号 */
  teacherId: number

  /*教师姓名 */
  name: string

  /*教师性别(male/female) */
  gender: string

  /*教师生日 */
  birthday: string

  /*教师所属学院 */
  department: string

  /*教师职称 */
  title: string

  /*教师电话号码 */
  phone: string

  /*教师住址 */
  address: string

  /*教师身份证号 */
  idCard: string
}

//教师实体
export interface TeacherRes {
  /*工号*/
  teacherId: number

  /*名称*/
  name: string

  /*性别*/
  gender: string

  /*生日*/
  birthday: string

  /*部门*/
  department: string

  /*职称*/
  title: string

  /*电话*/
  phone: string

  /*地址*/
  address: string

  /*创建时间*/
  createTime: Record<string, unknown>

  /*身份证*/
  idCard: string
}

//教师分页列表
export interface AdminGetTeacherRes {
  /* */
  list: TeacherRes[]

  /* */
  total: number
}

//更新列表
export interface AdminUpadeTeacherParams {
  teacherId: number

  name: string

  gender: string

  birthday: String

  department: string

  title?: string

  phone?: string

  address?: string

  idCard?: string
}

export interface BasePageQuery {
  pageNum: number
  pageSize: number
}
